﻿from django.contrib import admin
from django.urls import path,include
from user.views import *

urlpatterns = [
    # 写法区别 django v1.x
    # url(r'index/', index),

    # 子路由
    # 写法区别 django v2.x,v3.x,v4.x
    path('index/',index,name='index'),
    path('index2/',index2,name='index2'),
    # 查询所有用户
    path('get_user/',get_user,name='get_user'),
]